package io.github.source.media.bean.extractor;

import io.github.source.Source;

/**
 * @ClassName: TVBox
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author: huangrongcai
 * @date: 2024/6/20
 * @Copyright: 黄嵘才（HuangRc)
 */
public class TVBox implements Source.Extractor {
    @Override
    public boolean match(String scheme, String host) {
        return "tvbox-drive://".equals(scheme);
    }

    @Override
    public String fetch(String url) throws Exception {
        return (url.replace("tvbox-drive://", ""));
    }

    @Override
    public void stop() {

    }

    @Override
    public void exit() {

    }
}
